// 借用构造函数的继承
function SuperType(name) {
  this.name = name;
}


function SubType(name) {
  // this指向实例对象
  SuperType.call(this, name);
  this.age = 29;
}

let instance = new SubType('wzy');
console.log(instance);
